<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<form id = "pay_form" action="${payUrl}" method="post">
    <#list data?keys as key>
        <input type="hidden" name="${key}" id="${key}" value="${data["${key}"]}"/>
    </#list>
    <#--<input type="hidden" name="unionpayMerId" id="unionpayMerId" value="${unionpayMerId}"/>-->
    <#--<input type="hidden" name="unionpayMerName" id="unionpayMerName" value="${unionpayMerName}"/>-->
</form>
</body>
<script type="text/javascript">document.all.pay_form.submit();</script></html>